Blockly.Blocks['1635506209632'] = {
  init: function() {
    this.jsonInit({
      "type": "1635506209632",
      "message0": "Forwalk02RS",
      "previousStatement": null,
      "nextStatement": null,
      "colour": '#C643F1',
      "toolip": "",
      "helpUrl": ""
    });
  }
};

Blockly.Lua['1635506209632'] = function(block) {
  var code = "MOTOsetspeed(30)\nMOTOrigid16(30,30,30,85,85,85,85,45,30,30,30,85,85,85,85,45)\nMOTOsetspeed(20)\nMOTOmove19(80, 30, 125, 100, 68, 46, 111, 100, 120, 170, 125, 100, 92, 145, 63, 100, 128, 71, 100)\nMOTOwait()\nMOTOrigid16(30,30,30,50,55,50,50,50,30,30,30,75,85,100,90,70)\nMOTOmove19(80, 35, 110, 88, 53, 45, 101, 90, 120, 165, 110, 93, 100, 144, 76, 89, 128, 71, 100)\nMOTOwait()\nMOTOmove19(80, 35, 110, 88, 71, 45, 107, 90, 120, 165, 110, 93, 100, 144, 76, 89, 128, 71, 100)\nMOTOwait()\n\n\n-- 6\nMOTOsetspeed(30)\nMOTOmove19(80, 35, 90, 86, 125, 95, 110, 90, 120, 165, 90, 94, 105, 146, 77, 88, 128, 71, 100)\nMOTOwait()\n\n\n-- 停止\nMOTOsetspeed(20)\nMOTOmove19(80, 35, 100, 80, 91, 48, 129, 80, 120, 165, 100, 94, 105, 146, 76, 89, 128, 71, 100)\nMOTOwait()\nMOTOrigid16(30,30,30,65,75,80,75,65,30,30,30,30,30,30,30,30)\n\n\n-- 停止\nMOTOrigid16(20,20,20,85,55,55,55,85,20,20,20,85,85,95,85,85)\nMOTOmove19(80, 50, 100, 94, 93, 55, 124, 92, 120, 170, 100, 93, 107, 145, 76, 93, 128, 71, 100)\nMOTOwait()\nDelayMs(100)\nMOTOsetspeed(6)\nMOTOmove19(80, 30, 100, 100, 93, 55, 124, 100, 120, 170, 100, 100, 107, 145, 76, 100, 128, 71, 100)\nMOTOwait()\n";
  return code;
}

